//
//  HttpUploadManager.h
//  HttpAPIRequest
//
//  Created by admin on 2019/5/23.
//  Copyright © 2019 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HttpAPIConfig.h"
#import "HttpUploadFile.h"

NS_ASSUME_NONNULL_BEGIN

@interface HttpUploadManager : NSObject


/**
 *  创建单例对象
 */
+ (instancetype)sharedInstance;

/**
 设置网络请求头部信息
 
 @param requestHeader -头部信息
 */
- (void)setRequestHeader:(NSDictionary<NSString*,NSString*> *)requestHeader;


/**
 *  普通文件上传
 */

- (void)upload:(NSString *)url params:(NSDictionary *)params fileConfigs:(NSArray<HttpUploadFile *> *)fileConfigs
      response:(Class)responseClass callback:(HttpResponseBlock)callback;

@end

NS_ASSUME_NONNULL_END
